package com.neuedu.yunong.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neuedu.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.neuedu.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 人才流动对象 talentflow
 * 
 * @author zl
 * @date 2024-12-10
 */
@Schema(description = "人才流动对象")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("talentflow")
public class Talentflow extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 主键，自增 */
    @Schema(title = "主键，自增")
    private Long id;

    /** 类型 */
    @Schema(title = "类型")
    @Excel(name = "类型")
    private String type;

    /** 用户名 */
    @Schema(title = "用户名")
    @Excel(name = "用户名")
    private String username;

    /** 性别 */
    @Schema(title = "性别")
    @Excel(name = "性别")
    private String gender;

    /** 家庭住址 */
    @Schema(title = "家庭住址")
    @Excel(name = "家庭住址")
    private String address;

    /** 身份证号 */
    @Schema(title = "身份证号")
    @Excel(name = "身份证号")
    private String idCard;

    /** 出发地址 */
    @Schema(title = "出发地址")
    @Excel(name = "出发地址")
    private String departureAddress;

    /** 目的地 */
    @Schema(title = "目的地")
    @Excel(name = "目的地")
    private String destination;

    /** 联系电话 */
    @Schema(title = "联系电话")
    @Excel(name = "联系电话")
    private String phone;

    /** 返乡/出发时间 */
    @Schema(title = "返乡/出发时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "返乡/出发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnDate;

    /** 原由 */
    @Schema(title = "原由")
    @Excel(name = "原由")
    private String reason;

    /** 是否审核 */
    @Schema(title = "是否审核")
    @Excel(name = "是否审核")
    private String isReviewed;
}
